Skip to content

Conversation

@AchintyaAshok
Copy link
Contributor

Implement MCP prompt capability to expose slash commands that Claude Code can automatically render and use. This allows any Claude Code session connected to hypertool-mcp to receive guided workflows as slash commands.

Changes:

  • Add PromptRegistry to manage server prompts
  • Implement ListPromptsRequest and GetPromptRequest handlers
  • Add prompts capability to server configuration
  • Create comprehensive 'new-toolset' prompt with guided workflow

The new-toolset prompt provides:

  • Step-by-step toolset creation workflow
  • Tool availability checking and validation
  • Existing toolset analysis to avoid duplicates
  • Best practices and warnings (e.g., 15-tool limit)
  • Common patterns and templates for different use cases

This approach is superior to static .md files because:

  • Prompts are served dynamically by the MCP server
  • Available automatically when connected to hypertool-mcp
  • Can be context-aware and include dynamic data
  • Follow MCP protocol standards for prompt serving

🤖 Generated with Claude Code

Description

Please provide a brief description of your changes.

Type of Change

Please check the relevant option(s):

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • 🧪 Test improvement
  • 🔧 Build/tooling improvement
  • 🎨 Code refactoring

Changes Made

New Features

Bug Fixes

Other Enhancements

Breaking Changes

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested the changes with both stdio and HTTP transports

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run npm run lint and npm run format
  • I have run the test suite with npm test
  • Any dependent changes have been merged and published

Screenshots

Related Issues

Additional Notes

Implement MCP prompt capability to expose slash commands that Claude Code
can automatically render and use. This allows any Claude Code session
connected to hypertool-mcp to receive guided workflows as slash commands.

Changes:
- Add PromptRegistry to manage server prompts
- Implement ListPromptsRequest and GetPromptRequest handlers
- Add prompts capability to server configuration
- Create comprehensive 'new-toolset' prompt with guided workflow

The new-toolset prompt provides:
- Step-by-step toolset creation workflow
- Tool availability checking and validation
- Existing toolset analysis to avoid duplicates
- Best practices and warnings (e.g., 15-tool limit)
- Common patterns and templates for different use cases

This approach is superior to static .md files because:
- Prompts are served dynamically by the MCP server
- Available automatically when connected to hypertool-mcp
- Can be context-aware and include dynamic data
- Follow MCP protocol standards for prompt serving

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@github-actions
Copy link

github-actions bot commented Oct 21, 2025

🤖 Changeset Status

⚠️ No changeset found - This PR will default to patch version when merged.

Is this the right version bump?

  • 🐛 Bug fixes, small improvements → Automatic patch is perfect! ✅
  • New features, API additions → Consider adding a minor changeset
  • 💥 Breaking changes → Please add a major changeset

How to add a changeset:

  1. Run npx changeset in your terminal
  2. Select the appropriate version bump (patch/minor/major)
  3. Write a short description of your changes
  4. Commit the generated .changeset/*.md file

Skip release entirely:

Add [skip-ci] to your PR title if this shouldn't trigger any release.


This comment will update automatically when you push changes.

…lity

Extract the new-toolset prompt content from inline string to separate
markdown file for easier editing and maintenance.

Changes:
- Create new-toolset.md with comprehensive workflow content
- Update new-toolset.ts to load content dynamically from file
- Add caching to avoid repeated file reads
- Update build script to copy markdown files to dist directory

Benefits:
- Better separation of concerns (code vs content)
- Easier to edit prompt content without touching TypeScript
- Content can be edited by non-developers
- Improved readability and maintainability

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants